<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>编辑存款业务</title>
    <link rel="stylesheet" href="/static/style.css">
    <style>
        .edit-container { max-width: 600px; margin: 40px auto; background: #fff; border-radius: 16px; box-shadow: 0 8px 32px rgba(45,140,240,0.13); padding: 36px 48px; }
        .edit-container h2 { color: #2d8cf0; background: none; margin-bottom: 28px; font-size: 2.1rem; letter-spacing: 2px; }
        .edit-container .back-link { float: right; color: #2d8cf0; text-decoration: underline; font-size: 15px; }
        .edit-container form { margin-bottom: 24px; }
        .edit-container label { display: inline-block; width: 100px; margin-bottom: 8px; font-weight: bold; }
        .edit-container input, .edit-container textarea { width: 100%; padding: 10px; border-radius: 6px; border: 1px solid #d0d0d0; margin-bottom: 16px; box-sizing: border-box; }
        .edit-container textarea { height: 100px; resize: vertical; }
        .edit-container button { background: linear-gradient(90deg, #2d8cf0 0%, #74ebd5 100%); color: #fff; border: none; padding: 10px 24px; border-radius: 6px; cursor: pointer; font-size: 16px; margin-right: 12px; box-shadow: 0 2px 8px rgba(45,140,240,0.08); transition: background 0.2s, transform 0.1s; }
        .edit-container button:hover { background: linear-gradient(90deg, #1a6fb3 0%, #74ebd5 100%); transform: translateY(-2px) scale(1.04); }
        .edit-container .cancel-btn { background: linear-gradient(90deg, #f56c6c 0%, #fbbf24 100%); }
        .edit-container .cancel-btn:hover { background: linear-gradient(90deg, #d63031 0%, #fbbf24 100%); }
        @media (max-width: 600px) {
            .edit-container { padding: 18px 4vw; }
        }
    </style>
</head>
<body>
    <div class="edit-container">
        <h2>编辑存款业务 <a href="/admin/deposit_manage" class="back-link">返回管理页面</a></h2>
        <form method="post">
            <label>业务名称：</label>
            <input type="text" name="savingName" value="{{ business.savingName }}" required>
            
            <label>业务描述：</label>
            <textarea name="descrip" required>{{ business.descrip }}</textarea>
            
            <div style="text-align: center; margin-top: 24px;">
                <button type="submit">保存修改</button>
                <a href="/admin/deposit_manage" class="cancel-btn" style="text-decoration: none; display: inline-block;">取消</a>
            </div>
        </form>
    </div>
</body>
</html> 